package com.example.testcalendar;

import android.provider.CalendarContract.Events;
import android.provider.CalendarContract.Instances;

public class Query {

	public static final String[] EVENT_PROJECTION = { Events._ID, Events.TITLE,
			Events.DTSTART, Events.DTEND, Events.EVENT_LOCATION };

	public static final int EVENT_ID = 0;
	public static final int EVENT_TILE = 1;
	public static final int EVENT_DTSTART = 2;
	public static final int EVENT_DTEND = 3;
	public static final int EVENT_LOCATIN = 4;

	public static final String EVENT_SELECTION = Events.CALENDAR_ID + " = ?";

	public static final String[] INSTANCE_PROJECTION = { Instances.EVENT_ID,
			Instances.BEGIN, Instances.TITLE, Instances.CALENDAR_ID,
			Instances.CALENDAR_DISPLAY_NAME };

	public static final int INSTANCE_ID = 0;
	public static final int INSTANCE_BEGIN = 1;
	public static final int INSTANCE_TITLE = 2;
	public static final int INSTANCE_CALENDAR_ID = 3;
	public static final int INSTANCE_CALENDAR_NAME = 4;

}
